package com.wzm.mapper;

import com.wzm.domain.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    User findById(Long id);

    void updateBalance(User user);

    void addUser(User user);

    User findByUsername(String username);
}
